.container {
  min-height: 100vh;
  background-color: #f5f5f5;
}

/* 头部样式 */
.sticky-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #ffffff;
  border-bottom: 1rpx solid #eaeaea;
}

.header-title {
  padding: 20rpx;
  text-align: center;
}

.title {
  font-size: 32rpx;
  font-weight: 500;
}

.header-bar {
  display: flex;
  align-items: center;
  padding: 20rpx;
}

.back-button {
  width: 60rpx;
  height: 60rpx;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-back {
  font-size: 36rpx;
}

/* 导航按钮容器 */
.nav-buttons {
  margin-left: auto;
  display: flex;
  align-items: center;
}

/* 上一步按钮样式 */
.prev-button {
  background-color: #f0f0f0;
  color: #666666;
  font-size: 28rpx;
  padding: 10rpx 30rpx;
  border-radius: 8rpx;
  margin-right: 15rpx;
}

/* 下一步按钮样式 */
.next-button {
  background-color: #007aff;
  color: #ffffff;
  font-size: 28rpx;
  padding: 10rpx 30rpx;
  border-radius: 8rpx;
  display: flex;
  align-items: center;
}

.progress-text {
  font-size: 24rpx;
  margin-right: 10rpx;
  opacity: 0.9;
}

/* 选项卡样式 */
.tab-header {
  display: flex;
  border-bottom: 1rpx solid #eaeaea;
}

.tab-item {
  flex: 1;
  text-align: center;
  padding: 20rpx 0;
  color: #666666;
}

.tab-active {
  color: #007aff;
  border-bottom: 4rpx solid #007aff;
}

/* 分类选择样式 */
.category-list {
  padding: 20rpx;
}

.category-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30rpx 0;
  border-bottom: 1rpx solid #eaeaea;
}

.icon-right {
  color: #cccccc;
}

/* 内容容器 */
.content-container {
  padding: 20rpx;
}

/* 分类信息样式 */
.category-info {
  padding: 20rpx;
  background-color: #e6f7ff;
  color: #0066cc;
  border-radius: 8rpx;
  margin-bottom: 20rpx;
}

.category-info-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.edit-btn {
  background-color: #ffffff;
  color: #007aff;
  font-size: 24rpx;
  padding: 6rpx 20rpx;
  border-radius: 30rpx;
  border: 1rpx solid #007aff;
}

/* 表单样式 */
.form-section {
  background-color: #ffffff;
  border-radius: 8rpx;
  padding: 20rpx;
  margin-bottom: 20rpx;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20rpx;
}

/* 增强的标题样式 */
.section-header.enhanced {
  padding-bottom: 15rpx;
  border-bottom: 2rpx solid #f0f0f0;
}

.section-header.enhanced .section-title {
  font-size: 36rpx;
  font-weight: 600;
  color: #333333;
  position: relative;
  padding-left: 20rpx;
}

.section-header.enhanced .section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6rpx;
  height: 30rpx;
  background-color: #007aff;
  border-radius: 3rpx;
}

.sub-title {
  font-size: 28rpx;
  font-weight: 500;
}

.form-item {
  margin-bottom: 30rpx;
}

.form-label {
  margin-bottom: 10rpx;
  font-size: 28rpx;
}

.required {
  color: #ff4d4f;
  margin-left: 10rpx;
}

.form-input {
  width: 100%;
  height: 80rpx;
  border: 1rpx solid #eaeaea;
  border-radius: 8rpx;
  padding: 0 20rpx;
  font-size: 28rpx;
  box-sizing: border-box;
}

.form-textarea {
  width: 100%;
  height: 160rpx;
  border: 1rpx solid #eaeaea;
  border-radius: 8rpx;
  padding: 20rpx;
  font-size: 28rpx;
  box-sizing: border-box;
}

.form-picker {
  width: 100%;
  height: 80rpx;
  border: 1rpx solid #eaeaea;
  border-radius: 8rpx;
  padding: 0 20rpx;
  font-size: 28rpx;
  box-sizing: border-box;
}

.picker-value {
  height: 80rpx;
  line-height: 80rpx;
  color: #333333;
}

.form-tip {
  font-size: 24rpx;
  color: #999999;
  margin-top: 10rpx;
}

.switch-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* 上传框样式 */
.upload-box {
  width: 100%;
  height: 300rpx;
  border: 1rpx dashed #cccccc;
  border-radius: 8rpx;
  display: flex;
  align-items: center;
  justify-content: center;
}

.upload-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.upload-icon {
  font-size: 60rpx;
  color: #cccccc;
  margin-bottom: 10rpx;
}

.upload-text {
  font-size: 28rpx;
  color: #999999;
}

.upload-tip {
  font-size: 24rpx;
  color: #cccccc;
  margin-top: 10rpx;
}

.preview-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 规格编辑样式 */
.specs-container {
  border: 1rpx solid #eaeaea;
  border-radius: 8rpx;
  padding: 20rpx;
  margin-top: 20rpx;
}

.specs-section {
  margin-bottom: 30rpx;
}

.spec-option {
  margin-bottom: 20rpx;
  padding-bottom: 20rpx;
  border-bottom: 1rpx solid #eaeaea;
}

.spec-option-header {
  display: flex;
  align-items: center;
  margin-bottom: 20rpx;
}

.spec-name-input {
  flex: 1;
  margin-right: 20rpx;
}

.spec-values {
  padding-left: 40rpx;
}

.spec-value-item {
  display: flex;
  align-items: center;
  margin-bottom: 10rpx;
}

.spec-value-input {
  flex: 1;
  margin-right: 20rpx;
}

.add-btn {
  background-color: #f0f0f0;
  color: #666666;
  font-size: 28rpx;
  padding: 10rpx 20rpx;
  border-radius: 8rpx;
  margin-top: 10rpx;
}

.primary-btn {
  background-color: #007aff;
  color: #ffffff;
  font-size: 28rpx;
  padding: 10rpx 20rpx;
  border-radius: 8rpx;
  margin-left: 20rpx;
}

.delete-btn {
  background-color: #ff4d4f;
  color: #ffffff;
  font-size: 28rpx;
  padding: 10rpx 20rpx;
  border-radius: 8rpx;
}

.delete-btn.small {
  padding: 6rpx 16rpx;
  font-size: 24rpx;
}

.text-btn {
  color: #007aff;
  font-size: 28rpx;
  background: none;
}

.spec-btn-box{
	display: flex;
	justify-content: space-between;
}
.spec-btn-box .add-btn{
	margin-left:0;margin-right:auto;
}
.spec-btn-box .primary-btn{
	margin-left:auto;
	margin-right:0;
	margin-top: 10rpx;
}

/* SKU表格样式 */
.sku-table-section {
  margin-top: 30rpx;
  border-top: 1rpx solid #eaeaea;
  padding-top: 20rpx;
}

.sku-batch-actions {
  display: flex;
  margin-bottom: 20rpx;
}
.sku-batch-actions .text-btn{
  padding:0 5rpx;
  margin-left:auto;
  margin-right:0;
}
.batch-action {
  display: flex;
  align-items: center;
  margin-right: 30rpx;
}

.batch-input {
  width: 200rpx;
  margin-right: 10rpx;
}

.sku-table-container {
  width: 100%;
  overflow-x: auto;
}

.sku-table {
  min-width: 100%;
  border-collapse: collapse;
}

.sku-table-header {
  display: flex;
  background-color: #f5f5f5;
  font-weight: 500;
}
.sku-table-header .sku-table-cell{
  background-color: #f5f5f5;
}
.sku-table-row {
  display: flex;
}

.sku-table-cell {
  flex: 1;
  min-width: 150rpx;
  padding: 20rpx;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1rpx solid #eaeaea;
}

.sku-action-cell {
  flex: 0.5;
  min-width: 100rpx;
}

.sku-input {
  width: 120rpx;
  height: 60rpx;
  text-align: center;
}

/* 参数表格样式 */
.params-table {
  border: 1rpx solid #eaeaea;
  border-radius: 8rpx;
  margin-bottom: 30rpx;
}

.params-table-header {
  display: flex;
  background-color: #f5f5f5;
  font-weight: 500;
}

.params-table-row {
  display: flex;
  border-bottom: 1rpx solid #eaeaea;
}

.params-table-cell {
  padding: 20rpx;
}

.param-name {
  width: 30%;
  border-right: 1rpx solid #eaeaea;
}

.param-value {
  width: 70%;
}

.param-action {
  width: 100rpx;
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-params-section {
  margin-top: 30rpx;
}

.empty-tip {
  text-align: center;
  color: #999999;
  padding: 40rpx 0;
}

/* 相册样式 */
.gallery-container {
  margin-top: 20rpx;
}

.gallery-grid {
  display: flex;
  flex-wrap: wrap;
}

.gallery-item {
  width: 220rpx;
  height: 220rpx;
  margin-right: 20rpx;
  margin-bottom: 20rpx;
  position: relative;
}

.gallery-image {
  width: 100%;
  height: 100%;
  border-radius: 8rpx;
}

.add-item {
  border: 1rpx dashed #cccccc;
  border-radius: 8rpx;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.add-icon {
  font-size: 60rpx;
  color: #cccccc;
}

.add-text {
  font-size: 24rpx;
  color: #999999;
}

.delete-overlay {
  position: absolute;
  top: 10rpx;
  right: 10rpx;
  width: 40rpx;
  height: 40rpx;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.delete-icon {
  color: #ffffff;
  font-size: 28rpx;
}

.gallery-tip {
  font-size: 24rpx;
  color: #999999;
  margin-top: 10rpx;
}

/* 视频样式 */
.video-container {
  margin-top: 20rpx;
}

.video-preview {
  margin-bottom: 20rpx;
}

.video-player {
  width: 100%;
  height: 400rpx;
  border-radius: 8rpx;
}

/* 详情编辑器样式 */
.detail-editor {
  margin-top: 20rpx;
  border: 1rpx solid #eaeaea;
  border-radius: 8rpx;
}

.editor-toolbar {
  display: flex;
  padding: 20rpx;
  border-bottom: 1rpx solid #eaeaea;
  justify-content: space-between;
}

.toolbar-btn {
  background-color: #f0f0f0;
  color: #666666;
  font-size: 28rpx;
  padding: 10rpx 20rpx;
  border-radius: 8rpx;
  margin-left:0;
  margin-right:0;
}

.editor-content {
  min-height: 400rpx;
  padding: 20rpx;
}

.detail-item {
  margin-bottom: 20rpx;
  position: relative;
}

.detail-item-text {
  border: 1rpx solid #eaeaea;
  border-radius: 8rpx;
  padding: 20rpx;
}

.detail-item-image {
  border: 1rpx solid #eaeaea;
  border-radius: 8rpx;
  padding: 20rpx;
}

.detail-text {
  width: 100%;
  min-height: 160rpx;
}

.detail-image-container {
  width: 100%;
  border-radius: 8rpx;
}

.detail-image {
  width: 100%;
  border-radius: 8rpx;
}

.detail-item-actions {
  position: absolute;
  top: 10rpx;
  right: 10rpx;
  display: flex;
}

.action-btn {
  width: 50rpx;
  height: 50rpx;
  background-color: rgba(0, 0, 0, 0.5);
  color: #ffffff;
  border-radius: 50%;
  margin-left: 10rpx;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24rpx;
}

.action-btn.delete {
  background-color: rgba(255, 77, 79, 0.8);
}

/* 编辑器样式 */
.editor-container {
  border: 1rpx solid #eaeaea;
  border-radius: 8rpx;
  min-height:650rpx;
  margin-bottom: 10rpx;
}

/*提示下载进度*/
.show_app_down_pross .flex-center {
	/* #ifndef APP-NVUE */
	display: flex;
	/* #endif */
	justify-content: center;
	align-items: center;
}
.show_app_down_pross .mask {
	position: fixed;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0, 0, 0, .65);
}
.show_app_down_pross .botton-radius {
	border-radius: 30rpx;
}

.show_app_down_pross .content {
	position: relative;
	top: 0;
	width: 600rpx;
	background-color: #bc251e;
	box-sizing: border-box;
	padding: 0 50rpx;
	font-family: Source Han Sans CN;
}

.show_app_down_pross .text {
	/* #ifndef APP-NVUE */
	display: block;
	/* #endif */
	line-height: 200px;
	text-align: center;
	color: #FFFFFF;
}

.show_app_down_pross .content-top {
	height: 150rpx;
	text-align: center;
	line-height: 150rpx;
}

.show_app_down_pross .content-top-text {
	font-size: 45rpx;
	font-weight: bold;
	color: #fff;
}

